/***********************************************************************
	filename: 	CEGUIProperty.cpp
	created:	21/2/2004
	author:		Paul D Turner
	
	purpose:	Implements Property base class
*************************************************************************/

#include "hgeGuiProperty.h"
#include <iostream>

/*************************************************************************
	Returns whether the property is at it's default value.
*************************************************************************/
bool Property::isDefault(const PropertyReceiver* receiver) const
{
	return (get(receiver) == d_default);
}

/*************************************************************************
	Returns the default value of the Property as a String.
*************************************************************************/
std::string Property::getDefault(const PropertyReceiver*) const
{
	return d_default;
}